<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
 */
 /*
  $content = '';
  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
  for ($i=1; $i<=sizeof($bestsellers_list); $i++) {
    $content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
  }
  $content .= '</ol>' . "\n";
  $content .= '</div>' . "\n";
  $content .= '</div>';
  */
  //modify by  vincent, hard code the best sellers
  $content = '';
	//top 1
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.1</span></div>';
	$content .= '<a href="http://www.civillaser.com/635nm-5mw10mw-red-laser-module-line-1245mm-p-14.html"><img src="/images/635nm 5mW~10mW line laser.jpg"  width="134" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.civillaser.com/635nm-5mw10mw-red-laser-module-line-1245mm-p-14.html">635nm 5mW~10mW Red laser module line 12*45mm</a>';
	$content .= '<div>$59</div>';
	$content .= '</div>';

	
	
	
	
	//top 2
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.2</span></div>';
	$content .= '<a href="http://www.civillaser.com/laser-module-mountlaser-pen-clamptorch-holderclamp-p-100.html"><img src="/images/laser module mount.jpg"  width="120" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.civillaser.com/laser-module-mountlaser-pen-clamptorch-holderclamp-p-100.html">Laser module mount/laser pen clamp/Torch Holder/Clamp</a>';
	$content .= '<div>$12</div>';
	$content .= '</div>';	
	
	
	//top 3
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.3</span></div>';
	$content .= '<a href="http://www.civillaser.com/ttl-modulation-650nm-5mw150mw-red-laser-module-1660mm-p-104.html"><img src="/images/ttl red laser module dot.jpg"  width="120" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.civillaser.com/ttl-modulation-650nm-5mw150mw-red-laser-module-1660mm-p-104.html">TTL modulation 650nm 5mw~150mw Red laser Module 16*60mm</a>';
	$content .= '<div>$49</div>';
	$content .= '</div>';
	
	
		
	//top 4
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.4</span></div>';
	$content .= '<a href="http://www.civillaser.com/445nm-15w-blue-laser-module-osram-p-39.html"><img src="/images/445nm 1.5mw blue laser module Osram.jpg"  width="120" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.civillaser.com/445nm-15w-blue-laser-module-osram-p-39.html">445nm 1.5W blue laser module Osram</a>';
	$content .= '<div>$228</div>';
	$content .= '</div>';
	
	//top 5
	$content .= '<div class="sideBoxContent centeredContent">';
	$content .= '<div><img src="/images/crown.gif"/><span class="bestsellersNO">NO.5</span></div>';
	$content .= '<a href="http://www.civillaser.com/532nm-100mw350mw-green-dpss-laser-green-pumped-laser-free-shipping-p-86.html"><img src="/images/532nm-dpss-250mw.jpg"  width="120" height="120" ></a>';
	$content .= '<a class="sidebox-products"  href="http://www.civillaser.com/532nm-100mw350mw-green-dpss-laser-green-pumped-laser-free-shipping-p-86.html">532nm 100mw~350mw green dpss laser green pumped laser Free shipping</a>';
	$content .= '<div>$449</div>';
	$content .= '</div>';	



	 //base  top5
	  $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">' . "\n";
	  $content .= '<div class="wrapper">' . "\n" . '<ol>' . "\n";
	  for ($i=1; $i<=5; $i++) {
		$content .= '<li><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a></li>' . "\n";
	  }
	
	  $content .= '</ol>' . "\n";
	  $content .= '</div>' . "\n";
	  $content .= '</div>';
?>